package com.pysrc.base.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName:
 * @Auther L.Chen
 * @CreateDate
 * @Description TODO
 */
public interface BaseMapper<T> {
    int insert(T t);
    int updateByPrimaryKey(T t);
    int deleteByPrimaryKey(@Param("id") Long id);
    T selectByPrimaryKey(@Param("id") Long id);
    List<T> select(T t);
}
